package com.newear.marathon.properties;

import lombok.Data;

/**
 * @author MicroBin
 * @description：属性配置类
 * @date 2020/6/16 9:23 下午
 */
@Data
public class AuthenticationProperties
{

    private String loginPage = "/login/html";
    private String loginProcessingUrl = "/login/auth";
    private String usernameParameter = "username";
    private String passwordParameter = "password";
    private String[] staticPaths = {"/layuiadmin/**", "/jquery/**", "/myself/**", "/templates/**"};

    /**
     *  获取图形验证码地址
     */
    private String imageCodeUrl = "/generate/captcha";
    /**
     * # 发送手机验证码地址
     */
    private String mobileCodeUrl = "/code/mobile";
    /**
     * # 前往手机登录页面
     */
    private String mobilePage = "/mobile/page";
    /**
     * # 记住我功能有效时长
     */
    private Integer tokenValiditySeconds = 60*60*24*7;

}
